home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / et / et-2_2.lha / et2.2 / src / CmdNo.new.h < prev    next >
C/C++ Source or Header  |  1990-12-07  |  5KB  |  182 lines

  1. #ifndef CmdNo_First
  2. #ifdef __GNUG__
  3. #pragma once
  4. #endif
  5. #define CmdNo_First
  6.  
  7. //---- standard command codes --------------------------------------------------
  8.  
  9. const int cUNDO         =   1,
  10.       cSAVE         =   2,
  11.       cLOAD         =   3,
  12.       cPRINT        =   4,
  13.       cCLOSE        =   5,
  14.       cQUIT         =   6,
  15.       cINSPECT      =   7,
  16.       cMOVE         =   8,
  17.       cSTRETCH      =   9,
  18.       cTOP          =  10,
  19.       cBOTTOM       =  11,
  20.       cREDISPLAY    =  12,
  21.       cCOLLAPSE     =  13,
  22.       cCUT          =  14,
  23.       cCOPY         =  15,
  24.       cPASTE        =  16,
  25.       cLASTEDIT     =  cPASTE,
  26.       cTYPEING      =  17,
  27.       cSELECTALL    =  18,
  28.       cACCEPT       =  19,
  29.       cNEW          =  20,
  30.       cNEWLAST      =  29,
  31.       cDEBUGFIRST   =  30,
  32.       cDEBUGLAST    =  39,
  33.       cABOUT        =  40,
  34.       cOPEN         =  41,
  35.       cSAVEAS       =  42,
  36.       cREVERT       =  43,
  37.       cFIND         =  44,
  38.       cSHOWAPPLWIN  =  45,
  39.       cIMPORT       =  46,
  40.       cSETPAGE      =  55,
  41.       cCHANGEALL    =  56,
  42.       cCHOOSEPRINTER=  57,
  43.       cREDO         =  58,
  44. //        standard menus
  45.       cFILEMENU     =  88,
  46. //        ....
  47. //        source code browser
  48.       cEDITOTHER        = 100,
  49.       cEDITSUPER        = 101,
  50.       cEDITSELECTED     = 102,
  51.       cSHOWHIERARCHY    = 103,
  52.       cSHOWINHPATH      = 104,
  53.       cGOBACK           = 105,
  54.       cGOTOLINE         = 106,
  55.       cSPAWN            = 107,
  56.       cREFORMAT         = 108,
  57.       cUTILMENU         = 109,
  58.       cINSPECTSOME      = 110,
  59.       cSHOWIMPLEMENTORS = 112,
  60.       //  ShellTextView
  61.       cDOIT             = 200,
  62.       cBECOMECONSOLE    = 201,
  63.       cCLEAR            = 202,
  64.       cRECONNECT        = 203,
  65.       cAUTOREVEAL       = 204,
  66.       cUSERCMD          = 1000;
  67.  
  68. //---- standard dialog item id's -----------------------------------------------
  69. // for Control and DownControl
  70.  
  71. const int cIdNone           = -1,
  72.       cIdOk             = 1,
  73.       cIdYes            = 2,
  74.       cIdNo             = 3,
  75.       cIdCancel         = 4,
  76.       cIdUp             = 5,
  77.       cIdDown           = 6,
  78.       cIdLeft           = 7,
  79.       cIdRight          = 8,
  80.       cIdCloseBox       = 9,
  81.       cIdWindowTitle    = 10,
  82.       cIdDefault        = 11,
  83.       cIdIgnore         = 12,
  84.       cIdAbort          = 13,
  85.       cIdInspect        = 14,
  86.       cIdTrace          = 15,
  87.       cIdWinDestroyed   = 16,
  88.       cIdStartKbdFocus  = 17,
  89.       cIdEndKbdFocus    = 18,
  90.       cIdIconLabel      = 19,
  91.       
  92.       //---- ET++PE ----------------------------------------------------
  93.       
  94.       cIdFirstETPE      = 100,
  95.       cIdNewInsp        = cIdFirstETPE + 0,
  96.       cIdInspector      = cIdFirstETPE + 1, 
  97.       cIdSpawnInsp      = cIdFirstETPE + 2,
  98.       cIdNewBrowser     = cIdFirstETPE + 3,
  99.       cIdBrowser        = cIdFirstETPE + 4,
  100.       cIdNewOBrowser    = cIdFirstETPE + 5,
  101.       cIdOBrowser       = cIdFirstETPE + 6,  
  102.       cIdSpawnOBrowser  = cIdFirstETPE + 7,
  103.       cIdNewHier        = cIdFirstETPE + 8,  
  104.       cIdHierarchy      = cIdFirstETPE + 9,
  105.       cIdSpawnHier      = cIdFirstETPE + 10,
  106.       cIdSpawnFIH       = cIdFirstETPE + 11,
  107.       cIdShowFIH        = cIdFirstETPE + 12,
  108.     
  109.        //---- ClassListView
  110.       cIdCLChangedClass = cIdFirstETPE + 15,
  111.       cIdCLSelectClass  = cIdFirstETPE + 16,
  112.       
  113.       //---- InspItem
  114.       cIdLoadRef        = cIdFirstETPE + 20,
  115.       cIdLoadRefNew     = cIdFirstETPE + 21,
  116.       
  117.       //---- methodbrowser
  118.       cIdChangedMethod  = cIdFirstETPE + 30,  // changed selected method
  119.       cIdImplementors   = cIdFirstETPE + 31,  // show implementors
  120.       cIdInherited      = cIdFirstETPE + 32,  // show inherited
  121.       cIdOverrides      = cIdFirstETPE + 33,  // show overrides
  122.     
  123.       //---- inspector
  124.       cObjects          = cIdFirstETPE + 41,    
  125.       cClasses          = cIdFirstETPE + 42,
  126.       cReferences       = cIdFirstETPE + 43,
  127.       cIdShiftLeft      = cIdFirstETPE + 44,
  128.       cIdShiftRight     = cIdFirstETPE + 45,
  129.       cIdShiftAppl      = cIdFirstETPE + 46,
  130.       cIdShiftStart     = cIdFirstETPE + 47,
  131.       cIdShiftEnd       = cIdFirstETPE + 48,
  132.       
  133.       //---- class tree
  134.       cIdClassItem      = cIdFirstETPE+50;
  135.  
  136.  
  137. const int cIdClFilter  =    cIdFirstETPE + 112;
  138.  
  139.       //...
  140.       cIdFirstUser      = 1000;
  141.  
  142. //---- standard part codes -----------------------------------------------------
  143. // for Control and DownControl
  144.  
  145. const int cPartWantKbdFocus    = 1,
  146.       cPartChangedText      = 2,
  147.       cPartLayoutChanged    = 3,
  148.       cPartIncr             = 4,
  149.       cPartDecr             = 5,
  150.       cPartSetState         = 6,
  151.       cPartStateIsOn        = 7,
  152.       cPartAction           = 8,
  153.       cPartValidate         = 9,
  154.       cPartCollSelect       = 10,
  155.       cPartCollDoubleSelect = 11,
  156.       cPartScrollStep       = 12,
  157.       cPartScrollPage       = 13,
  158.       cPartScrollAbs        = 14,
  159.       cPartScrollHAbs       = 15,
  160.       cPartScrollVAbs       = 16,
  161.       cPartScrollRel        = 17,
  162.       cPartScrollPos        = 18,
  163.       cPartViewSize         = 19,
  164.       cPartToggle           = 20,
  165.       cPartOriginChanged    = 21,
  166.       cPartExtentChanged    = 22,
  167.       cPartEnableLayoutCntl = 23,
  168.       cPartTreeSelect       = 24,
  169.       cPartTreeDoubleSelect = 25,
  170.       cPartSenderDied       = 26,
  171.       cPartAnyChange        = 27,
  172.       cPartReplacedText     = 28,
  173.       cPartFocusChanged     = 29,
  174.       cPartHasSelection     = 30,
  175.       cPartFocusRemove      = 31,
  176.       // reserved
  177.       cPartLast             = 100,
  178.       // ...
  179.       cPartFirstUser        = 1000;
  180.  
  181. #endif CmdNo_First
  182.